FROM debian:13.2-slim
#FROM m.daocloud.io/docker.io/library/debian:13.2-slim
LABEL xiaoyilin=406735078@qq.com
ENV TZ=Asia/Shanghai
ADD nu-0.108.0-x86_64-unknown-linux-gnu.tar.gz atuin-x86_64-unknown-linux-gnu.tar.gz /usr/local/
WORKDIR /usr/local/
RUN mv atuin-x86_64-unknown-linux-gnu atuin-18.10.0 && mv nu-0.108.0-x86_64-unknown-linux-gnu/ nu-0.108.0 && \
ln -s /usr/local/nu-0.108.0/nu /usr/local/bin/nu && \
ln -s /usr/local/atuin-18.10.0/atuin /usr/local/bin/atuin
CMD ["nu", "-v"]


# https://github.com/atuinsh/atuin
# https://github.com/nushell/nushell
# docker build -t registry.cn-hangzhou.aliyuncs.com/xiaoyilin/nu:0.108.0-d131slim .
# docker push registry.cn-hangzhou.aliyuncs.com/xiaoyilin/nu:0.108.0-d131slim
# docker run -it registry.cn-hangzhou.aliyuncs.com/xiaoyilin/nu:0.108.0-d131slim nu